<p class="breadcrumbs"><strong>You are here:</strong> &raquo; <a href="<?php echo $gene_uri ?>"><?php _e($gene_name) ?></a> &raquo; Import Profile</p>

<h2>Import Profile</h2>

<?php if ($errormsg): ?>
	<p class="errormessage"><?php _e($errormsg) ?></p>
<?php endif; ?>

<form action="<?php echo Gene::makeLink(Gene::specialId('Import_Profile')) ?>/import" method="post"<?php if ($method == "file"): ?> enctype="multipart/form-data"<?php endif; ?>>

<input type="hidden" name="type" value="<?php echo $method ?>" />

<?php if ($method == "file"): ?>
	<p>Please browse to your profile and select it:</p><p><input type="file" name="foaffile" size="50" /></p><p>Please make sure you are uploading a FOAF profile. Uploading a file in another format may cause problems. FOAF files will usually have one of the following file extensions: <strong>.xml</strong>, <strong>.rdf</strong>, <strong>.foaf</strong> or <strong>.txt</strong>.</p>
<?php else: ?>
	<p>Please enter the full web address to your web profile. You can do this by browsing to your FOAF-enabled profile and copying the contents of the address bar.</p><p><input type="type" name="foafurl" size="50" value="http://" /></p>	
<?php endif; ?>

<p class="formcontrols"><input type="submit" value="Proceed &raquo;" class="btn_focus" /></p>

</form>